import parole
from parole.colornames import colors
from parole.display import interpolateRGB
import pygame, random

import sim, main
from util import *

class Potion(sim.Potion):
    def __init__(self):
        sim.Potion.__init__(self, "greater healing", "!", colors['Blue'])

    def quaff(self, quaffer):
        main.schedule(sim.Event('increase stat', main.schedule.time, (quaffer,
            'hp', random.randint(40,60)), dests=[quaffer]))

#========================================
thingClass = Potion
